@import "../_commont/reset.scss";
@import "../_color/color_var.scss";
@import "../_mixin/mixin.scss";
@import "../_commont/header.scss";
@import "../_commont/footer.scss";
@import "../_commont/comm.scss";

.main {
    width: 1200px;
    margin: 20px auto;
    background: $color_white;
}

.chk {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 40px 6px 0;
    float: left;

}
.cart-empty{
    width: 100%;
    height: 300px;
    position: relative;
    img{
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -140px;
    }
}
.describle-head-right {
    width: 100%;
    border: 1px solid $color_border;
    display: inline-block;

    ul {
        width: 100%;

        li {
            width: 1140px;
            // padding: 10px;
            height: 100px;
            // margin: 0 20px;
            padding: 10px;
            background: $bg_main;
            border-bottom: 1px solid $color_border;

            &:hover {
                background: $bg_price;
            }
        }
    }

    .img-link {
        width: 30%;
        height: 100%;
        padding: 0px;
        font-size: 13px;
        line-height: 100px;
        float: left;

        img {
            width: 80px;
            height: 80px;
            vertical-align: middle;
            float: left;
            margin-top: 10px;
        }

        .img-right {
            float: right;
            width: 65%;
            text-align: left;
            height: 80px;
            line-height: 80px;
            margin-top: 10px;

            .title {
                // height: 30px;
                line-height: 18px;
                display: block;
            }
        }
    }

    .second {
        width: 20%;
        background: oldlace;
        height: 100%;
        line-height: 100px;
        float: left;
        text-align: center;
    }

    .third {
        width: 20%;
        background: azure;
        height: 100%;
        line-height: 100px;
        float: left;
        text-align: center;
        position: relative;

        .marginLeft {
            width: 168px;
            height: 30px;
            margin: 0 auto;
            overflow: hidden;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-top: -15px;
            margin-left: -84px;
        }
    }

    .fourth {

        width: 20%;
        background: lavender;
        height: 100%;
        line-height: 100px;
        float: left;
        text-align: center;
    }

    .fifth {
        line-height: 70px;
        width: 10%;
        background: navajowhite;
        height: 100%;
        line-height: 100px;
        float: left;
        text-align: center;
    }

    .plus {
        height: 28px;
        width: 30px;
        line-height: 28px;
        // display: inline-block;
        padding: 0 8px;
        border: 1px solid $color_border;
        font-size: 16px;
        font-weight: bold;
        margin: 0;
        float: left;
    }

    #btnAdd,
    #btnReduce {
        cursor: pointer;

    }

    #btnDel {
        width: 50px;
        height: 50px;
        cursor: pointer;
    }

    .num {
        width: 60px;
        background: $bg_main;
        color: $color_h3;
        font-size: 14px;
        font-weight: normal;
        padding: 0px 6px;
        height: 28px;
        line-height: 28px;
        border-left: none;
        border-right: none;
    }

    .price {
        width: 30px;
        height: 30px;
        color: $color_red;
        font-size: 14px;
    }
}

.productPrice {
    width: 180px;
    height: 30px;
    line-height: 30px;
    margin-left: 3px;
}

.productPrice_now {
    @include font_productPrice_now;
    font-size: 14px;
}

.productPrice_old {
    @include font_productPrice_old;
    font-size: 13px;
    // margin-left: 10px;
    text-decoration-line: line-through;
}

.head {
    width: 1200px;
    overflow: hidden;

    p {
        float: left;
        height: 50px;
        width: 20%;
        line-height: 50px;
        text-align: center;
        background: $bg_head;
        color: $color_link;
        font-size: 13px;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid $color_border;
    }

    .first {
        width: 30%;
    }

    .last {
        width: 10%;
    }
}

.shop-head {
    width: 100%;
    // height: 60px;
    line-height: 60px;
    overflow: hidden;
    margin: 0 20px;

    a {
        color: $color_red;
        // margin-left: 10px;
        vertical-align: middle;
    }

    span {
        color: $color_toolbar;
        // margin-left: 20px;
        vertical-align: middle;
    }
}

.selAll {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
}

.shop-footer {
    width: 1180px;
    height: 60px;
    line-height: 60px;
    overflow: hidden;
    margin: 0 20px;

    input {
        float: left;
        margin-top: 20px;
    }

    .total {
        // width: 651px;
        float: right;
        margin-right: 20px;
    }

    span {
        color: $color_toolbar;
        font-size: 13px;
    }

    .price {
        color: $color_red;
        font-size: 22px;
        height: 30px;
        line-height: 30px;
        ;
    }

    .car {
        background: $color_red;
        color: $color_white;
        width: 156px;
        text-align: center;
        height: 50px;
        line-height: 50px;
        font-size: 18px;
        margin: 0 0px -1px 20px;
        display: inline-block;
        border-radius: 3px;

        &:hover {
            background: darken($color-red, 20%);
            color: $color_white;
        }

    }
}